<template>
  <div class="center_container">
    <div class="top-col">
      <div class="head-img">
        <img src="./images/user.png" alt="" />
      </div>
      <div class="right">
        <div class="text">
          <div class="login">登录/注册</div>
          <div class="more">登录后获取更多精美模板</div>
        </div>
        <div class="set-icon">
          <img src="./images/user_set.png" alt="" />
        </div>
      </div>
      <div class="vip-info">
        <div class="vip-intro">
          <div class="vip-title">我的会员</div>
          <div class="vip-text">会员畅享百万模板素材免费商用</div>
        </div>
        <div class="buy-vip-btn">立即开通</div>
      </div>
    </div>
    <div class="kw"></div>
    <div class="menu">
      <div class="order-con">
        <div class="icon">
          <img src="./images/icon1.png" alt="" />
        </div>
        <div class="icon-text">我的订单</div>
      </div>
      <div class="order-con">
        <div class="icon">
          <img src="./images/icon1.png" alt="" />
        </div>
        <div class="icon-text">我的订单</div>
      </div>
      <div class="order-con">
        <div class="icon">
          <img src="./images/icon2.png" alt="" />
        </div>
        <div class="icon-text">我的收藏</div>
      </div>
      <div class="order-con kg">
        <div class="icon">
          <img src="./images/icon3.png" alt="" />
        </div>
        <div class="icon-text">联系客服</div>
      </div>
      <div class="order-con">
        <div class="icon">
          <img src="./images/icon4.png" alt="" />
        </div>
        <div class="icon-text">问题反馈</div>
      </div>
      <div class="order-con">
        <div class="icon">
          <img src="./images/icon5.png" alt="" />
        </div>
        <div class="icon-text">关于我们</div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "Center",
  props: [],
  data() {
    return {};
  },
  created() {},
  methods: {},
};
</script>

<style lang="less" scoped>
.center_container {
  background: #f3f4f9;
  height: 100%;
  .top-col {
    position: relative;
    height: 184px;
    padding: 55px 20px 73px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background: #fff url("./images/user_bg.png") no-repeat 0 0/100%;
    display: flex;
    align-items: center;
    .head-img {
      width: 56px;
      height: 56px;
      img {
        width: 100%;
        height: 100%;
      }
    }
    .right {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: space-between;
      .text {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-left: 12px;
        color: #fff;

        .login {
          font-size: 16px;
          font-weight: bolder;
        }
        .more {
          font-size: 12px;
          margin-top: 8px;
        }
      }
      .set-icon {
        width: 27px;
        img {
          width: 100%;
        }
      }
    }
    .vip-info {
      position: absolute;
      bottom: -10px;
      left: calc((100vw - 351px) / 2);
      width: 351px;
      height: 60px;
      background: url(./images/vipbg.png) no-repeat 0 0/100% 100%;
      padding-left: 52px;
      -webkit-box-sizing: border-box;
      box-sizing: border-box;
      border-radius: 5px;
      overflow: hidden;
      .vip-intro {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        .vip-title {
          font-size: 17px;
          color: #5e3917;
          font-weight: 700;
          padding-bottom: 3px;
        }
        .vip-text {
          color: #5e3917;
          font-size: 12px;
        }
      }
      .buy-vip-btn {
        position: absolute;
        top: 15px;
        right: 16px;
        width: 72px;
        height: 30px;
        line-height: 30px;
        display: block;
        color: #fff;
        font-size: 12px;
        background: #cd9555;
        border: 0;
        border-radius: 5px;
        text-align: center;
      }
    }
  }
  .kw {
    width: 100%;
    height: 27.5px;
  }
  .order-con {
    height: 56px;
    width: 100%;
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 0 20px 0 20px;
    box-sizing: border-box;
    .icon {
      width: 23px;
      height: 23px;
      img {
        width: 100%;
        height: 100%;
      }
    }
    .icon-text {
      margin: 15px;
    }
  }
  .kg {
    margin-top: 8px;
  }
}
</style>